package com.rpc.test.service;


import com.rpc.annotation.Service;
import com.rpc.test.entity.HelloObject;

/**
 * @Author: Xiaohei
 * @CreateTime: 2021/11/13 12:40
 */
@Service
public class HelloServiceImpl implements HelloService{
    @Override
    public String hello(HelloObject helloObject) {
        return String.format("接收到消息%d：%s", helloObject.getId(), helloObject.getMessage());
    }
}
